<if condition="$datalist[0][id] neq '' ">
    <!-- list start -->
        <volist name="datalist" key="k" id="result">
            <li>
                <a href="{:U('Home/Index/builddetail',array('id'=>$result[id]))}">
                    <volist name=":explode(',',$result['imgs'])" id="vx" offset="0" length='1'>
                        <img src="__CARIMG__/{$vx}.png">
                    </volist>
                    <p class="list-title">{$result[na]}</p>
                    <p class="list-info">{$result[ds]}<span></span></p>
                    <p class="list-price">{$result[cp]}万 <s>{$result[newprice]}万</s>
                    <if condition="$result[cw] eq 1 "><span class="red">急售</span></if>
                    <if condition="$result[cn] eq 1 "><span class="green">准新车</span></if>
                    <if condition="$result[ct] eq 1 "><span class="orange">超值</span></if>
                    <if condition="$result[cp] elt 5 "><span class="orange">练手车</span></if>
                    </p>
                </a>
            </li>
        </volist>
    <!-- list end -->
<else />
    <!-- no data start -->
    <div class="nodata clearfix">
        <img class="nodata-img" src="__IMG__/list-nodata.png">
        <div class="nodata-text-wrap">
            <p class="nodata-text1">更多最新车源请联系58链车。</p>
            <p class="nodata-text2">您可以直接联系<span class="header-phone-nodata">400-100-1313</span>，或者登记手机号，您将获取到最新车源。</p>
            <div class="nodata-phone">
                <p>联系电话</p>
                <input id="nodata-phone-input" type="text" placeholder="请输入您的联系方式">
                <button id="nodata-phone-btn">提交需求</button>
                <p id="nodata-phone-error"></p>
            </div>
        </div>
    </div>
</if>